<template>
  <div class="common-layout">
    <el-container>
      <el-aside width="null">
        <MenuBar />
      </el-aside>
      <el-container>
        <el-header style="height: 85px"><HeaderBar /></el-header>
        <el-main>
          <router-view></router-view>
          <!-- <div>1111</div> -->
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import MenuBar from "@/components/MenuBar.vue";
import HeaderBar from "@/components/HeaderBar.vue";

export default {
  name: "HomeView",
  components: {
    MenuBar,
    HeaderBar,
  },
};
</script>

<style>
.common-layout {
  width: 100%;
  height: 100%;
}

.el-aside {
  /* width: 220px !important; */
  height: 100%;
  background-color: "#545c64";
}
.el-header {
  width: 100%;
  padding: 0 !important;
}
.el-container {
  width: 100%;
  height: 100%;
}
.el-main {
  /* height: 800px; */
  width: 100%;
  padding-top: 34px;
  background-color: #f0f2f5;
}
</style>

